﻿CREATE TABLE [dbo].[codeReturnType] (
    [ReturnTypeID] INT           IDENTITY (1, 1) NOT NULL,
	[OwnerID]	int	null,
    [Description]  NVARCHAR (100) NULL,
	[ReturnToInventory]	bit	not null,
    [Active]       BIT           not NULL
);
GO
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Defines the reasons that a customer would return an item.', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'codeReturnType';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'ReturnType ID', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'codeReturnType',
	@level2type = N'COLUMN', @level2name = N'ReturnTypeID';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Definition for ReturnTypeID', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'codeReturnType',
	@level2type = N'COLUMN', @level2name = N'Description';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Indicates whether the return type is active (1), or not (0).', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'codeReturnType',
	@level2type = N'COLUMN', @level2name = N'Active';

